package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Test;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface TestMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Test entity);

    Test selectByPrimaryKey(Long id);

    List<Test> selectAll();

    int updateByPrimaryKey(Test entity);

    Integer query4Count(QueryObject qo);

    List<Test> query4List(QueryObject qo);

    void changState(Long id);


}